package practice4;

public class App {
    public static void main(String[] args) {
        // 创建 StudentB 类的实例 s1 和 s2
        StudentB s1 = new StudentB("Alice", 20, "Computer Science");
        StudentB s2 = new StudentB("Bob", 22, "Mathematics");

        // 调用 introduce 方法，打印对象的信息
        s1.introduce();
        s2.introduce();
    }
}
